package com.hzj.service.impl;

import com.hzj.service.SmbmsAddressRedisService;
import com.hzj.utils.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@org.apache.dubbo.config.annotation.Service
public class SmbmsAddressRedisServiceimpl implements SmbmsAddressRedisService {
    @Autowired
    RedisUtil ru;

    @Override
    public Boolean lSet(String key, Object o,long time) {
        return ru.lSet(key, o,time);
    }

    @Override
    public List lGet(String key, long start, long end) {
        return ru.lGet(key, start, end);
    }

    @Override
    public Object get(String key) {
        return ru.get(key);
    }
}
